﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyDay13.Models
{
    [Table("BaseModel")]
   public class BaseModel
    {
        [Key]
        public int Id { get; set; }
        public string State { get; set; } = "0"; //状态（ 0正常，1删除）
        public string Remark { get; set; } //描述
        public string CreateBy { get; set; } = "admin"; //创建人
        public DateTime CreateDate { get; set; } = System.DateTime.Now; //创建日期
        public string UpdateBy { get; set; } //更新人
        public DateTime? UpdateDate { get; set; } //更新日期
    }
}
